﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC15Controller
    /// </summary>
    public class VYC15Controller
    {
        private static VYC15BO _vyc15Bo;
        public VYC15Controller()
        {
            _vyc15Bo = new VYC15BO();
        }
        public List<ModelVYC15> GetAllList()
        {
            return _vyc15Bo.GetAllList();
        }
        public int AddData(ModelVYC15 model)
        {
            return _vyc15Bo.AddData(model);
        }
        public int EditData(ModelVYC15 model)
        {
            return _vyc15Bo.EditData(model);
        }
        public int DeleteData(ModelVYC15 model)
        {
            return _vyc15Bo.DeleteData(model);
        }
        public List<ModelVYC15> GetById(int id)
        {
            return _vyc15Bo.GetById(id);
        }
    }
}